package com.jia.file.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class PageController {

    @RequestMapping("/success")
    public String success(){
        return "login success";
    }
    @RequestMapping("/errors")
    public String errors(){
        return "login failed";
    }
}
